Previous Thread
Next Thread
Print Thread
Rate Thread
#109251 12/29/2001 8:22 PM
Joined: Nov 2001
Posts: 436
Member
Member
Offline
Joined: Nov 2001
Posts: 436
How would I have a drop down menu (Or radio buttons) that have the options to either refresh manually, or refresh automatically every 10 seconds?
I've looked everywhere, can't find it. Thanks.

Sponsored Links
#109252 12/30/2001 1:11 AM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
You'll need some kind of a custom-programmed JavaScript to do the trick.

#109253 12/30/2001 2:14 PM
Joined: Nov 2001
Posts: 436
Member
Member
Offline
Joined: Nov 2001
Posts: 436
ok, would it look like:
For auto refresh selected:
Code
[/code]
And then, for manual refresh selected:
[code]
I'm not the best with Javascript, but I was looking at Webmonkey's JS tutorial, and it said to use window.document.forms[0]; to call a form, so that's what I'm guessing it would look like. Am I right?

EDIT:
This is assuming that there's radio buttons named "auto" and "manual", and that the form is the first on the page.

[ 12-30-2001 03:28 PM: Message edited by: BloggerMan ]

#109254 12/31/2001 6:33 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
I don't think that'd work, but I honestly don't know JavaScript too well.

#109255 01/01/2002 2:56 PM
Joined: Nov 2001
Posts: 198
Member
Member
Offline
Joined: Nov 2001
Posts: 198
BloggerMan's would almost work, but I don't think the periodic refresh would...
The simplest approach would be like this (I think smile )

hope this helps laugh


Just another boring 17-year-old
and yes, I like smilies/graemlins
Sponsored Links
#109256 01/01/2002 4:48 PM
Joined: Nov 2001
Posts: 436
Member
Member
Offline
Joined: Nov 2001
Posts: 436
hmm... well, I'm getting the nice people over at TutorialForums.com to write me a script, I'll see what they come up with.

#109257 01/02/2002 6:42 AM
Joined: Nov 2001
Posts: 198
Member
Member
Offline
Joined: Nov 2001
Posts: 198
cool laugh


Just another boring 17-year-old
and yes, I like smilies/graemlins

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 547
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 12
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)